package inter.impl;

import inter.Female;
import inter.Male;

public class Woman extends Female {
    String name = "linda";
    @Override
    public void birthBaby(Male male) {
        System.out.println("正在与:"+male.name+"共同生育!");
    }

    public Woman() {
    }

    public Woman(String name) {
        this.name = name;
    }
}
